﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AAA.Database;
using AAA.ResultSet;

namespace AAA.DataLoader
{
    public interface ILoader
    {
        IDatabase Database { get; set; }
        string ErrorMessage { get; set; }
        void AddLoaderParam(string strKey, string strValue);
        void SetLoaderParam(string strKey, string strValue);
        string GetLoaderParam(string strKey);
        bool Load(IResultSet resultSet);
        bool IsSuccess { get; set; }
    }
}
